package po;

import java.io.Serializable;
import java.util.ArrayList;

public class OrderPO implements Serializable{
int ID;
int customerID;
ArrayList<OrderItemPO> bookList;
double sumPrice;
int state;
String orderTime;
String customerAdress;
String customerPhone;
int credit;
public OrderPO(int iD, int customerID, ArrayList<OrderItemPO> bookList,
		double sumPrice, int state, String orderTime, String customerAdress,
		String customerPhone, int credit) {
	super();
	ID = iD;
	this.customerID = customerID;
	this.bookList = bookList;
	this.sumPrice = sumPrice;
	this.state = state;
	this.orderTime = orderTime;
	this.customerAdress = customerAdress;
	this.customerPhone = customerPhone;
	this.credit = credit;
}
public int getID() {
	return ID;
}
public void setID(int iD) {
	ID = iD;
}
public int getCustomerID() {
	return customerID;
}
public void setCustomerID(int customerID) {
	this.customerID = customerID;
}
public ArrayList<OrderItemPO> getBookList() {
	return bookList;
}
public void setBookList(ArrayList<OrderItemPO> bookList) {
	this.bookList = bookList;
}
public double getSumPrice() {
	return sumPrice;
}
public void setSumPrice(double sumPrice) {
	this.sumPrice = sumPrice;
}
public int getState() {
	return state;
}
public void setState(int state) {
	this.state = state;
}
public String getOrderTime() {
	return orderTime;
}
public void setOrderTime(String orderTime) {
	this.orderTime = orderTime;
}
public String getCustomerAdress() {
	return customerAdress;
}
public void setCustomerAdress(String customerAdress) {
	this.customerAdress = customerAdress;
}
public String getCustomerPhone() {
	return customerPhone;
}
public void setCustomerPhone(String customerPhone) {
	this.customerPhone = customerPhone;
}
public int getCredit() {
	return credit;
}
public void setCredit(int credit) {
	this.credit = credit;
}

}
